package com.open.capacity.reimburse.dao;

import com.open.capacity.reimburse.entity.BillDirectPayitem;
import com.open.capacity.reimburse.entity.BillDirectSettlement;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 直接报销单-结算方式
 *
 * @author
 * @email
 * @date 2023-12-08 17:37:57
 */
@Mapper
public interface BillDirectSettlementDao {

    int save(BillDirectSettlement billDirectSettlement);

    int update(BillDirectSettlement billDirectSettlement);

    int delete(String id);

    int deleteByBillId(String billId);

    BillDirectSettlement findById(String id);

    List<BillDirectSettlement> findByBillId(String billId);

    List<BillDirectSettlement> findAll(Map<String, Object> params);

}
